package com.yanqu.road.entity.estatewar.palace;

import com.yanqu.road.entity.DataObject;

import java.util.Objects;

public class PalaceAideJoinApply extends DataObject {
    private int activityId;
    private long userId;
    private String applyUid;
    private long applyUserId;
    private long applyTime;
    private boolean isDeal;
    private long dealTime;

    public int getActivityId() {
        return activityId;
    }

    public void setActivityId(int activityId) {
        if(this.activityId != activityId) {
            this.activityId = activityId;
            setUpdateOption();
        }
    }

    public long getUserId() {
        return userId;
    }

    public void setUserId(long userId) {
        if(this.userId != userId) {
            this.userId = userId;
            setUpdateOption();
        }
    }

    public String getApplyUid() {
        return applyUid;
    }

    public void setApplyUid(String applyUid) {
        if(!Objects.equals(this.applyUid, applyUid)) {
            this.applyUid = applyUid;
            setUpdateOption();
        }
    }

    public long getApplyUserId() {
        return applyUserId;
    }

    public void setApplyUserId(long applyUserId) {
        if(this.applyUserId != applyUserId) {
            this.applyUserId = applyUserId;
            setUpdateOption();
        }
    }

    public long getApplyTime() {
        return applyTime;
    }

    public void setApplyTime(long applyTime) {
        if(this.applyTime != applyTime) {
            this.applyTime = applyTime;
            setUpdateOption();
        }
    }

    public boolean isDeal() {
        return isDeal;
    }

    public void setDeal(boolean deal) {
        if(this.isDeal != deal) {
            isDeal = deal;
            setUpdateOption();
        }
    }

    public long getDealTime() {
        return dealTime;
    }

    public void setDealTime(long dealTime) {
        if(this.dealTime != dealTime) {
            this.dealTime = dealTime;
            setUpdateOption();
        }
    }
}
